﻿package
{
	import flash.display.MovieClip;
	import flash.events.*;
	
	public class bullet extends MovieClip
	{
		var vel:Number = 10;
		
		public function bullet( x:Number, y:Number )
		{
			this.x = x;
			this.y = y;
			
			addEventListener( Event.ENTER_FRAME, update, false, 0, true );
		}
		
		public function update( e:Event )
		{
			x += vel;
		}
	}
}